//
//  VideoQuestionsVC.h
//  ATAInterview
//
//  Created by up72-17 on 2018/12/11.
//  Copyright © 2018 up72-17. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SABCircleProcessView.h"

#import <AVKit/AVKit.h>
#import <AVFoundation/AVFoundation.h>
#import <AVFoundation/AVPlayer.h>

#import "AnswerVC.h"

NS_ASSUME_NONNULL_BEGIN

@interface VideoQuestionsVC : UIViewController {

    
    /** 进度条 */
    __weak IBOutlet UIProgressView *myProgressView;
    /** 准备时间 */
    __weak IBOutlet UILabel *timeLabel;
    
    /** 标题 */
    __weak IBOutlet UILabel *titleLable;
    /** 问题标题 */
    __weak IBOutlet UILabel *questionsTitleLabel;

    __weak IBOutlet UIView *videoBackView;
    
    AVPlayer *videoPlayer;
    
    AVPlayerItem *playerItem;
    
    id playTimeObserver; // 观察者
    
    __weak IBOutlet UILabel *playerNowTimeLabel;
    
    __weak IBOutlet UILabel *playerTimeLabel;
    
    __weak IBOutlet UISlider *playerSlider;
    
    __weak IBOutlet UIView *controlView;
    
    
    NSTimer *myTime;
    NSInteger timeIndex;
    
    NSTimer *fiveTime;
    NSInteger fiveTimeIndex;
    
    
    SABCircleProcessView *processView;
    
    __weak IBOutlet UIView *fiveSecondsView;
    
    __weak IBOutlet UIView *fiveSecondsContentBackView;
    
    __weak IBOutlet UILabel *fiveSecondsLabel;
    
    __weak IBOutlet UIView *circleView;
}

@end

NS_ASSUME_NONNULL_END
